{% extends "index.html" %}
{% load staticfiles %}

{% block content %}

<h1>Create Event</h1>
<form action="" method="post">
	{% csrf_token %}
	{{ form.as_ul }}
	<input type="submit" value="Submit" />
</form>
<script>
	$(function() {
		var $j = jQuery.noConflict();
		$j( "#id_start" ).datepicker("option", "altFormat", "yy-mm-dd");
		$j( "#id_end" ).datepicker("option", "altFormat", "yy-mm-dd");
	});
</script>
{% endblock %}